package top.wutunan.proxy;

import top.wutunan.Bob;
import top.wutunan.Person;
import top.wutunan.util.CInvocationHandler;
import top.wutunan.util.ProxyCustom;

/**
 * @Description
 * @Author wutunan
 * @Date 2024/5/5
 */
public class Test {


    public static void main(String[] args) {
        Person bob = new Bob();
        CInvocationHandler handler = new Handler(bob);

        // 创建动态代理对象
//        Person proxy = (Person)ProxyCustom.createProxy(Person.class);
//        proxy.doSomething();

    }

}
